@section('title')
    @parent
    | @lang('nav.page.contacts.view')
@stop

@section('content')
<div class="title-content">
    <ol class="breadcrumb">
        <li class="active">
            <a href="{{ URL::to('/admin/contact/list') }}">@lang('nav.page.contacts.index')</a> <span class="divider"></span>
        </li>
        <li class="active">@lang('nav.page.contacts.view')</li>
    </ol>
</div>

<div class="content-box">
     <div class="box-header" data-original-title="">
        <h2><i class="glyphicon glyphicon-envelope"></i><span class="break"></span>@lang('nav.page.contacts.index')</h2>
        <div class="box-icon">
            <a href="javascript:void(0)" class="btn-minimize"><i class="fa fa-chevron-up"></i></a>
            <a href="javascript:void(0)" class="btn-close"><i class="fa fa-times"></i></a>
        </div>
    </div>
    <div class="content-box-main">   
        <div class="form-group">
            <a href="{{ URL::to('/admin/contact/list') }}" class="btn btn-info pull-left"><i class='fa fa-angle-left'></i> @lang('form.label.back')</a>
            <div class="clear"></div>
        </div>
        
        <div class="detail-contact">
            <table class="table table-bordered">
                <tbody>
                    <tr>
                        <td class="col-sm-2"><strong>@lang('contact.attr.sent_at')</strong></td>
                        <td class="col-sm-10">{{ $contact->created_at }}</td>
                    </tr>
                    <tr>
                        <td class="col-sm-2"><strong>@lang('contact.attr.email')</strong></td>
                        <td class="col-sm-10">{{ $contact->email }}</td>
                    </tr>                   
                    <tr>
                        <td class="col-sm-2"><strong>@lang('contact.attr.name')</strong></td>
                        <td class="col-sm-10">{{ $contact->name }}</td>
                    </tr>
                    <tr>
                        <td class="col-sm-2"><strong>@lang('contact.attr.phone')</strong></td>
                        <td class="col-sm-10">{{ $contact->phone }}</td>
                    </tr>
                    <tr>
                        <td class="col-sm-2"><strong>@lang('contact.attr.address')</strong></td>
                        <td class="col-sm-10">{{ $contact->address }}</td>
                    </tr>
                    <tr>
                        <td class="col-sm-2"><strong>@lang('contact.attr.content')</strong></td>
                        <td class="col-sm-10">{{ $contact->content }}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
@stop

@section('scripts')
    {{ HTML::script('assets/javascripts/document.js') }}
@stop